package com.onpositive.datacollection.proxy;

import java.io.Serializable;

import com.onpositive.data.IPropertyMetadata;

public class RemoteCollectionInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	protected IPropertyMetadata[] metas;
	protected int size;
	
	protected byte[]nameReader;
	
	public void setNameReader(byte[] nameReader) {
		this.nameReader = nameReader;
	}

	public void setPreviewReaderData(byte[] previewReaderData) {
		this.previewReaderData = previewReaderData;
	}

	public byte[] getNameReader() {
		return nameReader;
	}

	public byte[] getPreviewReaderData() {
		return previewReaderData;
	}

	protected byte[]previewReaderData;
	
	public IPropertyMetadata[] getMetas() {
		return metas;
	}

	public int getSize() {
		return size;
	}

	protected RemoteCollectionInfo(){
		
	}
	
	public RemoteCollectionInfo(IPropertyMetadata[] metas, int size) {
		super();
		this.metas = metas;
		this.size = size;
	}
	
}
